Fix upgrade check.
authorrobertl <robertl>
Fri, 28 Aug 2009 19:22:43 +0000 (19:22 +0000)
committerrobertl <robertl>
Fri, 28 Aug 2009 19:22:43 +0000 (19:22 +0000)
gui/upgrade.cpp

index de5278cb27197b1696d3315bdc9a65a034bfb58c..c764663afe93999df74569ec7c53943ebd7d0e90 100644 (file)
@@ -1,5 +1,5 @@
 // -*- C++ -*-
-// $Id: upgrade.cpp,v 1.10 2009/08/28 17:08:55 robertl Exp $
+// $Id: upgrade.cpp,v 1.11 2009/08/28 19:22:43 robertl Exp $
 /*
     Copyright (C) 2009  Robert Lipe, robertlipe@gpsbabel.org
 
@@ -102,7 +102,7 @@ UpgradeCheck::updateStatus UpgradeCheck::checkForUpgrade(const QString &currentV
                const QString &installationUuid)
 {
   this->currentVersion = currentVersionIn;
-  this->currentVersion.remove("GPSBabel Version");
+  this->currentVersion.remove("GPSBabel Version ");
   this->upgradeCheckMethod = checkMethod;
 
   QDateTime soonestCheckTime = lastCheckTime.addDays(1);